<template>
  <a-tabs default-active-key="1">
    <a-tab-pane key="1" tab="根据利率计算月供">
      <calculator-modal-pay-month />
    </a-tab-pane>
    <a-tab-pane key="2" tab="根据月供计算利率">
      <calculator-modal-interest-rate />
    </a-tab-pane>
  </a-tabs>
</template>

<script>
import CalculatorModalInterestRate from "@/views/dashboard/portal/CalculatorModalInterestRate";
import CalculatorModalPayMonth from "@/views/dashboard/portal/CalculatorModalPayMonth";

export default {
  components: {
    CalculatorModalInterestRate,
    CalculatorModalPayMonth,
  },
  props: {},
  methods: {},
};
</script>

<style scoped>
/* 可以添加一些自定义样式 */
.ant-tabs {
  margin-top: -16px; /* 调整tabs与modal标题的间距 */
}
</style>
